package com.wdb.domain.doctor.entity;

import com.wdb.common.base.BaseEntity;
import java.util.Date;
import javax.persistence.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString(callSuper = true)
@Table(name = "doctor_info_pin")
public class DoctorInfoPin extends BaseEntity {
    private String mobile;

    private String password;

    private static final long serialVersionUID = 1L;

    public DoctorInfoPin mobile(String mobile) {
        this.setMobile(mobile);
        return this;
    }

    public DoctorInfoPin password(String password) {
        this.setPassword(password);
        return this;
    }

    public static DoctorInfoPin build() {
        return new DoctorInfoPin();
    }

    public DoctorInfoPin id(Long id) {
        this.setId(id);
        return this;
    }

    public DoctorInfoPin created(Date created) {
        this.setCreated(created);
        return this;
    }

    public DoctorInfoPin modified(Date modified) {
        this.setModified(modified);
        return this;
    }

    public DoctorInfoPin deleted(String deleted) {
        this.setDeleted(deleted);
        return this;
    }

    public DoctorInfoPin createUserId(Long createUserId) {
        this.setCreateUserId(createUserId);
        return this;
    }

    public DoctorInfoPin updateUserId(Long updateUserId) {
        this.setUpdateUserId(updateUserId);
        return this;
    }
}